{
  "properties" : { },
  "id" : "a777cf7ec283469dbecfc4b5b2fab470",
  "script" : null,
  "groupId" : "f233a970a1c5419295b8d980e50d4c51",
  "name" : "新增故障知识库类型",
  "createTime" : 1727070970781,
  "updateTime" : 1724900464860,
  "lock" : "1",
  "createBy" : "ndmp",
  "updateBy" : "ndmp",
  "path" : "save",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n    \"parentId\":\"1\",\n    \"sort\":\"1\",\n    \"title\":\"测试\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
return db.insert("""
    insert into ndmp_knowledge_type(parent_id,sort,title) 
    values (#{body.parentId}, #{body.sort},#{body.title})
""", 'id')